@extends("admin.layout.main")
@section("content")
    <div class="tpl-content-wrapper">
        <div class="tpl-content-page-title">
            角色管理
        </div>
        <ol class="am-breadcrumb">
            <li><a href="#" class="am-icon-home">首页</a></li>
            <li><a href="#">系统管理</a></li>
            <li class="am-active">角色管理</li>
        </ol>
        <div class="tpl-portlet-components">
            <div class="portlet-title">
                <div class="caption font-green bold">
                    <span class="am-icon-code"></span> 添加角色
                </div>
            </div>

            <div class="tpl-block ">
                <div class="am-g tpl-amazeui-form">
                    <div class="am-u-sm-12 am-u-md-9">

                        <form class="am-form am-form-horizontal" method="post" action="/admin/roles/store">
                            {{csrf_field()}}
                            <div class="am-form-group">
                                <label for="user-name" class="am-u-sm-3 am-form-label">角色名称 </label>
                                <div class="am-u-sm-9">
                                    <input type="text" id="user-name" name="name" minlength="3" placeholder="输入角色名称" class="am-form-field" required>
                                </div>
                            </div>
                            <div class="am-form-group">
                                <label for="user-name" class="am-u-sm-3 am-form-label">角色描述 </label>
                                <div class="am-u-sm-9">
                                    <input type="text" id="user-name" name="description"  placeholder="输入角色描述" class="am-form-field" >
                                </div>
                            </div>



                            <div class="am-form-group">
                                <div class="am-u-sm-9 am-u-sm-push-3">
                                    <button type="submit" class="am-btn am-btn-primary">保存</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        @include("admin.layout.error")
    </div>
@endsection